package org.jtb.quickr;

import java.net.MalformedURLException;
import java.net.URL;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import org.apache.log4j.Logger;

class ServiceUrl extends FlickrUrl {
    private String apiKey;
    
    public ServiceUrl(String baseUrl, Map<String,String> args, String apiKey) throws QuickrException {
        super(baseUrl, args);
        this.apiKey = apiKey;
    }
    
    protected Map<String,String> getArgs() {
        putArg("api_key", apiKey);
        
        return super.getArgs();
    }    
}
